﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;



namespace Randata.Test
{

    using Randata;

    [TestClass]
    public class Examples
    {
        [TestMethod]
        public void examples()
        {
            bool myBool = DataProvider.Any<bool>();
            int myInt = DataProvider.Any<int>();
            double myDecimal = DataProvider.Any<double>();
            String myString = DataProvider.Any<String>();
            DateTime myDateTime = DataProvider.Any<DateTime>();
            List<int> myList = DataProvider.Any<List<int>>();
            SomeEnumerator myEnum = DataProvider.Any<SomeEnumerator>();
            Person myPerson = DataProvider.Any<Person>();
            List<Person> myListOfPerson = DataProvider.Any<List<Person>>();
        }

        public enum SomeEnumerator { Yes, No, Maybe }

        public class Person
        {
            public String Name { get; set; }
            public int Age { get; set; }
        }
    }

}
